DevForce Help Reference
GetInstancesImplementing<T>(IEnumerable<String>) Method


Type of instance to probe for and create
Assemblies to search
Create a list of instances of those types that either extend or implement the specified type or interface.
Syntax
'Declaration
 
Public Overloads Shared Function GetInstancesImplementing(Of T)( _
   ByVal probeAssemblyNames As IEnumerable(Of String) _
) As IEnumerable(Of T)
'Usage
 
Dim probeAssemblyNames As IEnumerable(Of String)
Dim value As IEnumerable(Of T)
 
value = ReflectionFns.GetInstancesImplementing(Of T)(probeAssemblyNames)
public static IEnumerable<T> GetInstancesImplementing<T>( 
   IEnumerable<string> probeAssemblyNames
)

Parameters

probeAssemblyNames
Assemblies to search

Type Parameters

T
Type of instance to probe for and create
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ReflectionFns Class
ReflectionFns Members
Overload List

Send Feedback